home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 25 / Mac Magazin and MacEasy Magazine CD - Issue 25.iso / Online / Joe's-PPP-Scripts / PPP-plan-toggle / ReadMe < prev   
Text File  |  1996-08-21  |  4KB  |  77 lines

  1. PPP plan toggle v 0.5
  2. Copyright ©1996 Joseph Santaniello. All Rights Reserved.
  3.  
  4. Who it's for:
  5.  
  6. This AppleScript is for PPP users with non-static IP addresses, i.e. dial-up modem users,
  7. who would like a means of publicizing their current IP address while logged-on so they
  8. can be contacted with Maven, PGPFone, Talk, or whatever, with minimal hassle.
  9.  
  10. What it does:
  11.  
  12. This AppleScript toggles the connection status of your PPP link. When it opens a connection
  13. it ftp's a ".plan" text file of your choice to your defualt directory substituting your current IP
  14. address and the current time for certain special characters it finds in the text file. When it
  15. closes a connection it first ftp's another ".plan" text file, again substituting IP address and
  16. current time for certain special characters. This way people can "finger" your account
  17. to get you current log-on status. See below for more on configuration and sample "plan's."
  18.  
  19. What it requires:
  20.  
  21. It does not work properly with OpenTransport.  AppleScript v1.0 or later, Drag and Drop, 
  22. Scriptable finder, InternetConfig, and the following Scripting Additions are required: 
  23.  
  24. MacPPP Control OSAX  found in UMich mirrors such as:
  25. ftp://mac.uio.no//umich/util/comm/macpppcontrol1.4.sit.hqx
  26.  
  27. TCP/IP Scripting Additions OSAX found in UMich mirrors such as: ftp://mac.uio.no//umich/util/script/tcpipscriptingadd1.12.cpt.hqx
  28.  
  29. Jon's Commands OSAX found in Info-Mac mirrors such as:
  30. ftp://mac.uio.no//umich/util/script/jonscommands1.36.sit.hqx
  31.  
  32. ICScriptor OSAX found in Info-Mac mirrors such as:
  33. ftp://mac.uio.no//umich/util/script/icscriptor1.0b1.sit.hqx
  34.  
  35. InternetConfig may be found in Info-Mac mirrors such as:
  36. ftp://mac.uio.no//info-mac/_Internet/internet-config-12.hqx
  37. Be certain it is properly set up before trying the script.
  38. (if you were really cool you would have the ICeTEe Extension which comes with IC installed)
  39.  
  40.  
  41. How to set it up:
  42.  
  43. First make two text files named whatever you wish. The Script automatically names either
  44. file ".plan" when it up-loads it.  "openingPlan" & "closingPlan" are logical choices.
  45. These files can be as long as you wish. The Script will substitute the current IP address
  46. everywhere it finds the string "%ip%" and the current time/date everywhere it finds the
  47. string "%clock%" (no quotes). A sample opening plan might be:
  48. ---------------------------------------------------------------
  49. Joseph Santaniello                     +(47) 22 35 79 88
  50. Trondheimsveien 14                     +(47) 90 56 82 36
  51. N-0560 Oslo                            cvoss@sn.no
  52. Norway                                 http://www.sn.no/~cvoss
  53.  
  54. I have been online since: %clock%.
  55. My Mac is awaiting Talk requests at %ip%
  56. ---------------------------------------------------------------
  57.  
  58. A sample closing plan might be similar: "I logged-off at %clock%, sorry." blah, blah, blah.
  59.  
  60. The first time you run the script you will be prompted to locate your two plan files. The 
  61. Script will remember their locations for subsequent uses. If the files cannot be found by
  62. the script later, you will be prompted again. Next a PPP link will be established and
  63. your opening plan will be up-loaded. Run the Script again and it will up-load your 
  64. closing plan file then hard close to PPP link. That's it. 
  65. This usually adds about 8 seconds to my usual connect times.
  66.  
  67. Now what?
  68.  
  69. This Script is free. You are required to send me e-mail with comments, however.
  70.  
  71. This Script may be included in CD-ROM collections if this documentation is included,
  72. and if possible I am given a copy. This Script is warranted to do nothing. If it doesn't
  73. do nothing you can have your money back. Or maybe I can have your money back...?
  74.  
  75. Joseph Santaniello <cvoss@sn.no>                     http://www.sn.no/~cvoss/
  76.  
  77.